CVE-2018-6331
"Apache Buck Deserialization Code Execution Vulnerability"
Description
Buck parser-cache command loads/saves state using Java serialized object. If the state information is maliciously crafted, deserializing it could lead to code execution. This issue affects Buck versions prior to v2018.06.25.01.
INFO
Published Date :
Dec. 31, 2018, 11:29 p.m.
Last Modified :
May 6, 2025, 4:15 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source | 
|---|---|---|---|---|---|---|
| CVSS 2.0 | HIGH | [email protected] | ||||
| CVSS 3.0 | CRITICAL | [email protected] | ||||
| CVSS 3.1 | CRITICAL | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | 
Public PoC/Exploit Available at Github
                                            CVE-2018-6331 has a 1 public
                                            PoC/Exploit available at Github.
                                            Go to the Public Exploits tab to see the list.
                                        
References to Advisories, Solutions, and Tools
                                            Here, you will find a curated list of external links that provide in-depth
                                            information, practical solutions, and valuable tools related to
                                            CVE-2018-6331.
                                        
| URL | Resource | 
|---|---|
| https://github.com/facebook/buck/commit/8c5500981812564877bd122c0f8fab48d3528ddf | Patch Third Party Advisory | 
| https://github.com/facebook/buck/commit/8c5500981812564877bd122c0f8fab48d3528ddf | Patch Third Party Advisory | 
CWE - Common Weakness Enumeration
            While CVE identifies
            specific instances of vulnerabilities, CWE categorizes the common flaws or
            weaknesses that can lead to vulnerabilities. CVE-2018-6331 is
            associated with the following CWEs:
        
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
            (CAPEC)
            stores attack patterns, which are descriptions of the common attributes and
            approaches employed by adversaries to exploit the CVE-2018-6331
            weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Compiled dataset of Java deserialization CVEs
java-deserialization deserialization cve security
Results are limited to the first 15 repositories due to potential performance issues.
			The following list is the news that have been mention
			CVE-2018-6331 vulnerability anywhere in the article.
		
                The following table lists the changes that have been made to the
                CVE-2018-6331 vulnerability over time.
            
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
- 
                            CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0May. 06, 2025 Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H 
- 
                            CVE Modified by af854a3a-2127-422b-91ae-364da2661108Nov. 21, 2024 Action Type Old Value New Value Added Reference https://github.com/facebook/buck/commit/8c5500981812564877bd122c0f8fab48d3528ddf 
- 
                            CVE Modified by [email protected]May. 14, 2024 Action Type Old Value New Value 
- 
                            CVE Modified by [email protected]Oct. 09, 2019 Action Type Old Value New Value Added CWE Facebook, Inc. CWE-502 
- 
                            Initial Analysis by [email protected]Feb. 04, 2019 Action Type Old Value New Value Added CVSS V2 (AV:N/AC:L/Au:N/C:P/I:P/A:P) Added CVSS V3 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://github.com/facebook/buck/commit/8c5500981812564877bd122c0f8fab48d3528ddf No Types Assigned https://github.com/facebook/buck/commit/8c5500981812564877bd122c0f8fab48d3528ddf Patch, Third Party Advisory Added CWE CWE-502 Added CPE Configuration OR *cpe:2.3:a:facebook:buck:*:*:*:*:*:*:*:* versions up to (excluding) 2018.06.25.01 
Vulnerability Scoring Details
Base CVSS Score: 9.8
Base CVSS Score: 9.8
Base CVSS Score: 7.5
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.44 }} -0.73%
score
0.60223
percentile
 
                         
                         
                         
                                             
                                            